﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SocialFront.Providers.Member;

namespace SocialFront.Web.usercontrols.Membership
{
    public partial class HomeMemberList : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            List<Entities.Member> members = MemberProvider.Provider.GetAllMembers(6);

            membersList.DataSource = members;
            membersList.DataBind();
        }
    }
}